package com.ebocy.hammer.battle.fight.message;

import com.ebocy.hammer.core.constants.GameMessageCode;
import com.ebocy.hammer.core.message.AbstractS2CMessage;

public class S2CCombatContinueIPMessage extends AbstractS2CMessage {
	private String ip;
	private short port;

	public S2CCombatContinueIPMessage(String ip, short port) {
		super();
		this.ip = ip;
		this.port = port;
	}

	@Override
	protected void writeMessage() {
		writeString(ip);
		writeShort(port);
//		writeShort(GameMessageCode.WORLD_ENTER_4V4_ROOM);
	}

	@Override
	public short getMessageCode() {
		return GameMessageCode.BATTLE_CONTINUE_IP;
	}

}
